package Y2024.M12.D10;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 25228
 * Date: 2024-12-10
 * Time: 10:23
 */
public class Main2 {
    public static void main(String[] args) {

    }
}
class Account{
    private double balance=0;
    double getBalance(){
        return this.balance;
    }
    void deposit(Account amount){

    }
}
class AddAPennyTask implements Runnable{
    private Account account;
    AddAPennyTask(Account account){
        this.account=account;
    }
    @Override
    public void run() {
        this.account.deposit(this.account);
    }
}